package com.atguigu.tingshu.common.login;

import cn.hutool.core.thread.threadlocal.NamedInheritableThreadLocal;
import cn.hutool.core.thread.threadlocal.NamedThreadLocal;
import org.springframework.web.context.request.RequestAttributes;

import java.lang.annotation.*;

/**
 * @author Wu Xingbin
 * @date 2023/11/17/16:34
 */
@Inherited
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface GuiGuLogin {

    /**
     * 是否必需要登录
     * @return
     */
    boolean required() default true;
}